package com.example.mannortycoon.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@TableName("sys_user")
public class SysUserEntity implements Serializable  {

    @TableId
    private Long userId;
    private String username;
    private String password;
    private String salt;
    private Integer status;
    private Long createUserId;
    private Date createTime;
    /**
     * 角色ID列表
     */
    @TableField(exist=false)
    private List<Long> roleIdList;
}
